from django.conf.urls import url
from courses.views import *
urlpatterns = [
    # 由于开发进度不统一，
    # 为了能运行，以下是临时路由
    url(r'^courses/', CoursesView.as_view(), name='course_list'),
    url(r'^courses_detail/(?P<pk>[0-9]+)/$', CoursesDetailView.as_view(), name='course_detail'),
    url(r'^courses_info/(?P<pk>[0-9]+)/$', CoursesDetailView.as_view(), name='course_info'),
]
